#ifndef KILLERFLOWER_H
#define KILLERFLOWER_H

#include <SDL2/SDL.h>
#include "NpcItem.h"

class cKillerFlower : public NpcItem
{
public:
	cKillerFlower(int _x, int _y);//cKillerBlume

	void update();
	virtual bool init();
	virtual void move(float dt, cPlayer* mario);
	virtual void itemCollision(cPlayer* mario, std::vector<NpcItem *> &items);
	virtual void collisionWithOthers(NpcItem* sprite);
	virtual float TakeDamage(float DamageAmount, struct CDamageEvent const& DamageEvent, NpcItem* DamageCauser);
	int x, y;
	virtual SDL_Rect& GetItemRect();
	int count;
	bool dead;
	float timer;
	SDL_Rect rect;
	static SDL_Surface *KBLUM_SURFACE[2];
	static void initKillerFlower();//initKILLERBLUUME
};

#endif // !